package com.itstu.gulimall.seckill.feign;

import com.itstu.common.utils.R;
import com.itstu.gulimall.seckill.fallback.CouponFeginServiceFallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author shhjiang_001
 * @create 2020-06-04 21:47
 */
@FeignClient(value = "gulimall-coupon",fallback = CouponFeginServiceFallBack.class)
//@Service
public interface CouponFeignService {
    @RequestMapping("coupon/seckillsession/last3DaysSession")
    // @RequiresPermissions("coupon:seckillsession:list")
    R getLast3DaysSession();
}
